KERNELDIR := /home/wxy/linux/IMX6ULL/linux/wxy_linux_kernel1/linux
			
CURRENT_PATH := $(shell pwd)
obj-m := imx6ullirq.o

all:build
build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules
clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean

